home *** CD-ROM | disk | FTP | other *** search
/ Electronic Print Media Service 1997 September / Electronic Print Media Service 1997 September.iso / ideasrc / gallery.dir / 00146_Script_146 < prev    next >
Text File  |  1997-06-25  |  603b  |  26 lines

  1. on exitFrame
  2.   global gallery
  3.   if gallery = "slideshow" then
  4.     go the frame
  5.   end if
  6.   if gallery = "selfrun" then
  7.     delay 150
  8.   end if
  9.   if rollover(2) then 
  10.     set the visible of sprite 8 to false
  11.   else 
  12.     set the visible of sprite 8 to true
  13.   end if
  14.   if rollover(7) then 
  15.     set the visible of sprite 8 to false
  16.   end if
  17.   
  18.   put the frame -1 into word 1 of field "counter"
  19.   put "-of-" into word 2 of field "counter"
  20.   put the lastframe into word 3 of field "counter"
  21.   updatestage
  22.   
  23.   if not soundbusy(3) then
  24.     sound playFile 3, "gallery.aif"
  25.   end if
  26. end if